Part Number Hot Search : 
1BS302 SN54L 10A01 1N474 SMAJ16A SN54L 2SD19 AD9251
Product Description
Full Text Search
 

To Download HT6523 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 HT6523 PS/2 Mouse Controller
Features
* Compatible with IBM PS/2 mouse * Integrated oscillator circuit with external resistor * 6MHz clock frequency * Minimal external components * Three key-switches and four photo-coupler inputs * Supports test mode operation * 16-pin DIP package
General Description
The HT6523 is a PS/2 compatible mouse controller IC. Capable of driving up to 3 key-switches and 4 photo-couplers directly into a 6-pin connector line.
Pin Assignment
NC 1 2 3 4 5 6 7 8 TEST RESET OSC NC CLK DATA VSS 16 15 14 13 12 11 10 9 VDD Y2 Y1 X2 X1 LB MB RB
H T6523 1 6 D IP -A
Pin Description
Pin No. 1, 5 2 3 4 6 7 8 9 10 11 12 13 14 15 16 Pin Name NC TEST RESET OSC CLK DATA VSS RB MB LB X1 X2 Y1 Y2 VDD I/O 3/4 I I I I/O I/O 3/4 No connection If TEST is floating or connected to VSS, then the chip is under normal operation. If TEST is connected to VDD, it will operate under the TEST mode. Input to reset internal LSI OSC is connected to an external resistor then to VDD to generate a 6MHz system clock. Synchronous clock signal. The mouse generates a clock signal when sending data to and receiving data from the system. Bidirectional data transmission line Negative power supply, ground In the non-active state these 3 switch inputs are pulled low. To activate they must be connected to VDD. In the TEST mode, MB, LB will indicate the condition of the X1, X2 inputs, if RB is left floating or connected to VSS. Also in the TEST mode, if RB is connected to VDD then MB and LB will indicate the condition of the Y1 and Y2 inputs. Mouse interface input terminal. Four photo-coupler signals denote UP, DOWN, LEFT and RIGHT state. Positive power supply Description
I
I
3/4
Rev. 1.20
1
March 6, 2003
HT6523
Absolute Maximum Ratings
Supply Voltage ...........................VSS-0.3V to VSS+5.5V Input Voltage............................. VSS-0.3 to VDD+0.3V Storage Temperature ............................-50C to 125C Operating Temperature...........................-25C to 70C
Note: These are stress ratings only. Stresses exceeding the range specified under Absolute Maximum Ratings may cause substantial damage to the device. Functional operation of this device at other conditions beyond those listed in the specification is not implied and prolonged exposure to extreme conditions may affect device reliability.
D.C. Characteristics
Symbol VDD IDD VIL Parameter Operating Voltage Operating Current Input Low Voltage for I/O Ports 5V 3V VIH Input High Voltage for I/O Ports 5V 3V VIL1 Input Low Voltage (RESET) 5V 3V VIH1 Input High Voltage (RESET) 5V 3V VIL2 Input Low Voltage (X1, X2, Y1, Y2) 5V 3V VIH2 Input High Voltage (X1, X2, Y1, Y2) 5V 3V IOL I/O Ports Sink Current 5V 3V IOH I/O Ports Source Current 5V 3V IOL1 CLK, DATA Sink Current 5V 3V IOH1 CLK, DATA Source Current 5V 3V RPH Pull-high Resistance of CLK, DATA 5V RPL Pull-low Resistance of TEST, RB, MB, LB Pull-low Resistance of X1, X2, Y1, Y2 3V 5V 3V 5V VOL=0.3V VOL=0.5V VOH=2.7V VOH=4.5V VOL=0.3V VOL=0.5V VOH=2.7V VOH=4.5V 3/4 3/4 3/4 3/4 3/4 3/4 Test Conditions VDD 3/4 5V 3V Conditions 3/4 fSYS=6MHz, No load 3/4 Min. 4.75 3/4 0 0 2.1 3.5 0 0 2.3 3.8 0 0 2 3 1.5 4 -1 -2 8 8 -1.5 -1.5 5 3 10 8 60 35 Typ. 3/4 3/4 3/4 3/4 3/4 3/4 3/4 3/4 3/4 3/4 3/4 3/4 3/4 3/4 2.5 6 -1.5 -3 3/4 3/4 -2.5 -2.5 7.5 4.7 30 17 100 60 Max. 5.25 5 0.9 V 1.5 3 V 5 0.7 V 1.3 3 V 5 1 V 2 3 V 5 3/4 3/4 3/4 3/4 3/4 3/4 3/4 3/4 10 kW 6.3 50 kW 35 160 kW 90 mA Unit V mA
3/4
3/4
3/4
3/4
3/4
mA
mA
mA
RPL1
Rev. 1.20
2
March 6, 2003
HT6523
A.C. Characteristics
Symbol fSYS tRES Parameter 3V System Clock (RC OSC) 5V External Reset Low Pulse Width 3V Test Conditions ROSC=120K ROSC=120K 3/4 Min. 5.4 5.4 1 Typ. 6 6 3/4 Max. 6.6 6.6 3/4 Unit MHz MHz ms
Functional Description
Power-on Reset The Mouse logic generates a power-on reset at power up after 600 millisecond 20%. Modes of Operation
* Reset
After power up or when receiving a reset command, CLK and DATA lines can go to a positive level. The mouse waits between 300 to 500 milliseconds and sends AA to the host, followed by a device ID of 00. After reset the mouse is set to its default values: Incremental stream mode, 1:1 scaling, report rate of 100, 6 counts per mm at 320 DPI or 4 counts per mm at 200 DPI, and then disable itself. No further action occurs until a command is sent from the host.
* Stream
In this mode, a data report is transmitted to the system if a switch is pressed or released, or if at least one count of movement has been detected. The maximum rate of transfer is the programmed sample rate.
* Remote
in the mouse and no transmissions are made. If CLK is high and DATA is low (request-to-send), the data is also updated in the mouse, the mouse inputs the host data, and no transmissions are started by the mouse until CLK and DATA are both high. If CLK and DATA are both high, the mouse proceeds to output 0 start bit, 8 data bits, parity bit, and stop bit if a transmission is required. Data is valid prior to the falling edge of CLK and beyond the rising edge of CLK. During transmission, the mouse checks for a line contention by checking for an inactive level on CLK at intervals not to exceed 100 ms. Contention occurs when the host lowers CLK to inhibit the mouse output after the mouse starts a transmission. If this occurs before the rising edge of the tenth clock (parity bit), the mouse internally stores its data packet in the mouse buffer and returns both DATA and CLK high. If there is no contention by the tenth clock, the mouse completes the transmission. Following a transmission, the host can inhibit the mouse until it services the input or until it requests to send a response if necessary.
* Data input
In this mode, data is transmitted only in response to a read data command.
* Wrap
In this mode, any byte of data sent by the system, except hex EC or hex FF, is returned by the mouse. Data Transmission During data transmission, CLK is used to clock serial data. The mouse generates a clocking signal when sending data to and receiving data from the system. The system requests the mouse receiving system data output by forcing the data line to an inactive level and allowing CLK to go to an active level. Communication is bidirectional using the clock and data signal lines. The signal for each of these lines comes from open collector devices, allowing either the mouse or the system to force a line to an inactive level. During a non-transmission state, CLK and DATA are both held at an active level.
* Data output
When the mouse is ready to transmit, it checks for an inhibit signal or a host request-to-send status on CLK and DATA. If CLK is low, data is continuously updated
When the host is ready to send data to the mouse, it first checks to see if the mouse is transmitting data. If the mouse is transmitting, the host can override the mouse output by forcing CLK low before the tenth clock. If the mouse transmits beyond this, the host receives the data. If the mouse is not transmitting or if the host overrides the mouse output, the host forces CLK to an inactive level for a period of not less than 100 ms while preparing for output. When the system is ready to output 0 start bit (data line is low), it allows CLK to go to an active level. The mouse checks this state every 10ms. If request-to-send is detected, the mouse clocks 11 bits. After the tenth clock, the mouse checks for a high on the DATA line and if found, the mouse forces DATA to a low level and clocks once more. This signals the host to return to the ready state when it can accept input or go to an inhibit mode until ready. If DATA is found at an inactive level following clock 10, a framing error has occurred and the mouse continues to clock until DATA is high, then clocks the line control bit and request a resend. For host commands and data transmission that requires a response, the host waits for the mouse to respond before sending its next output.
Rev. 1.20
3
March 6, 2003
HT6523
The response must be within 20ms, unless the host inhibits the mouse output or inhibits the data transmissions from the system that require a response. If the host initiates a command or data transmission and the response is invalid or has a parity error, the host retransmits the command or data. If after two retries the response is still invalid or has a parity error, the host resets the mouse. Data Format The following data report format is valid for the stream and remote modes and is 3 bytes long: Byte 3 Bit 7 6-1 0 7 6-1 0 7 6 5 4 3 2 1 0 Description MSB of Y Data Y Data LSB of Y Data MSB of X Data X Data LSB of X Data Y Data Overflow 1=Overflow X Data Overflow 1=Overflow Y Data sign 1=Negative X Data sign 1=Negative Reserved always=1 Reserved for middle Button Right Button Status 1=Pressed Left Button Status 1=Pressed Commands
* The following table lists all the valid commands:
Hex Code FF FE F6 F5 F4 F3 F2 F0 EE EC EB EA E9 E8 E7 E6
Command Reset Resend Set default Disable Enable Set sampling rate Read device type Set remote mode Set wrap mode Reset wrap mode Read data Set stream mode Status request Set resolution Set scaling 2:1 Reset scaling
2
1
* The following describe valid commands:
Hex Code FF
Command Reset
Description This command cause the mouse to enter a reset mode and do an internal self-test. The system can send this command when it detects an error in any transmission from the mouse. The Resend command could be sent following a mouse transmission and before the system enables the interface allowing the next mouse output. On receipt of Resend, the mouse retransmits the previous three bytes if the previous output was a 3-byte packet. The previous two bytes if the previous output was a 2-byte packet, and the previous one byte if the previous output was a 1-byte packet, unless the previous output from the mouse was a Resent command. In this case, the mouse will resend the previous output prior to the Resend command. If a Resend command is received by the mouse from the host immediately following a 3-byte data packet transmission from the mouse to the host while the mouse is in stream mode. The mouse should resend the 3-byte data packet prior to clearing the count accumulators. This command reinitializes all conditions to the power-on default state. This command is used in the stream mode to stop transmissions initiated from the mouse. It responds to all other commands while disabled. If the mouse is in the stream mode, it must be disabled before sending it any command that requires a response. Begin transmission, if in stream mode In the stream mode, this command sets the sampling rate to the value indicated by bytes hex XX shown in the following figure: Second Byte hex XX (sample rate): hex 0A (10/sec), hex 14 (20/sec), hex 28 (40/sec), hex 3C (60/sec), hex 50 (80/sec), hex 64 (100/sec), hex C8 (200/sec) This command always receives a response of hex 00
FE
Resend
F6
Set default
F5
Disable
F4
Enable
F3, XX
Set sampling rate
F2
Read device type
Rev. 1.20
4
March 6, 2003
HT6523
Hex Code F0 EE EC Command Set remote mode Set wrap mode Reset wrap mode Description This command sets the remote mode. Data values are reported only in response to a Read Data command. This command sets the wrap mode. This mode remains until hex FF or hex EC is received. This command resets the wrap mode This command requests that all data defined in the data packet format be transmitted. This command is executed in either remote or stream mode. The data is transmitted even if there has been no movement since the last report or the switch status is unchanged. Following a Read Data command, the accumulators are cleared after a data transmission. This command sets the stream mode When this command is issued by the system, the mouse responds with a 3-byte status report as follows: Byte 3 2 1 E9 Status request 0~7 0~7 7 6 5 4 3 2 1 0 Bit Description Current sampling rate Current resolution setting always = 0 0 = Stream mode, 1 = Remote mode 0 = Disabled, 1 = Enabled 0 = Scaling 1:1, 1 = Scaling 2:1 always = 0 1 = Left button pressed Reserved for middle button 1 = Right button pressed
EB
Read data
EA
Set stream mode
The mouse provides four resolutions selected by the second byte of this command as follows: Second Byte E8, XX Set resolution hex XX hex 00 hex 01 hex 02 hex 03 200 DPI 1 2 4 8 Resolution (Counts per mm) 320 DPI 1 3 6 12 400 DPI 2 4 8 16
Scaling is used to provide a course/fine tracking response. At the end of a sample interval in the stream mode, the current X and Y data values are converted to new values. The sign bits are not involved in this conversion. 2:1 scaling is only performed in stream mode. In response to a Read Data command, the mouse will transmit the current value before conversion. Input E7 Set scaling 2:1 0 1 2 3 4 5 N (6) This command restores 1:1 scaling Output 0 1 1 3 6 9 2.0 N
E6
Reset scaling
Rev. 1.20
5
March 6, 2003
HT6523
Timing Diagrams
Data Output
(1 ) CLK (3 ) (3 ) (3 ) (3 ) (4 ) T6 1 1 th CLK T5 (5 ) (7 )
1st CLK
2nd CLK
1 0 th CLK
T3 (2 ) DATA T1 S ta r t B it T2
T4 B it 0 P a r ity B it
S to p B it (6 )
Timing Parameter T1 T2 T3 T4 T5 T6 Data transition to the falling edge of CLK Rising edge of CLK to DATA transition Duration of CLK low Duration of CLK high Minimum time to MOUSE inhibit after clock 11
Min/Max 5/25ms 5/T4-5ms 30/50ms 30/50ms > 0ms
Maximum time to MOUSE inhibit after clock 11 to ensure MOUSE does not start another trans< 50ms mission
Data Input
(1 ) CLK M ouse In h ib it (2 ) (4 ) 1st CLK 2nd CLK 9 th CLK 1 0 th CLK 1 1 th CLK (8 ) (6 ) P a r ity B it (5 ) S to p B it (7 )
T7 T9 DATA S ta r t B it (3 )
T8 B it 0 (5 )
Timing Parameter T7 T8 T9 Duration of CLK low Duration of CLK high Time from low to high CLK transition to time when MOUSE samples DATA line
Min/Max 30/50ms 30/50ms 5/25ms
Rev. 1.20
6
March 6, 2003
HT6523
Application Circuits
+ 5V CLK DATA GND 0 .1 m .
1 120kW 3 4 1000p. 6 7 8 5 2
NC TEST RESET OSC NC CLK DATA VSS
VDD Y2 Y1 X2 X1 LB MB RB
16 15 14 13 12 11 1 1 9 1 2 2 10 2 SW 1 SW 3 SW 2 680W
H T6523
Rev. 1.20
7
March 6, 2003
HT6523
Package Information
16-pin DIP (300mil) Outline Dimensions
A 16 B 1 9 8
H C D E . G
a
I
Symbol A B C D E F G H I a
Dimensions in mil Min. 745 240 125 125 16 50 3/4 295 335 0 Nom. 3/4 3/4 3/4 3/4 3/4 3/4 100 3/4 3/4 3/4 Max. 775 260 135 145 20 70 3/4 315 375 15
Rev. 1.20
8
March 6, 2003
HT6523
Holtek Semiconductor Inc. (Headquarters) No.3, Creation Rd. II, Science Park, Hsinchu, Taiwan Tel: 886-3-563-1999 Fax: 886-3-563-1189 http://www.holtek.com.tw Holtek Semiconductor Inc. (Taipei Sales Office) 4F-2, No. 3-2, YuanQu St., Nankang Software Park, Taipei 115, Taiwan Tel: 886-2-2655-7070 Fax: 886-2-2655-7373 Fax: 886-2-2655-7383 (International sales hotline) Holtek Semiconductor Inc. (Shanghai Sales Office) 7th Floor, Building 2, No.889, Yi Shan Rd., Shanghai, China 200233 Tel: 021-6485-5560 Fax: 021-6485-0313 http://www.holtek.com.cn Holtek Semiconductor Inc. (Shenzhen Sales Office) 43F, SEG Plaza, Shen Nan Zhong Road, Shenzhen, China 518031 Tel: 0755-8346-5589 Fax: 0755-8346-5590 ISDN: 0755-8346-5591 Holtek Semiconductor Inc. (Beijing Sales Office) Suite 1721, Jinyu Tower, A129 West Xuan Wu Men Street, Xicheng District, Beijing, China 100031 Tel: 010-6641-0030, 6641-7751, 6641-7752 Fax: 010-6641-0125 Holmate Semiconductor, Inc. (North America Sales Office) 46712 Fremont Blvd., Fremont, CA 94538 Tel: 510-252-9880 Fax: 510-252-9885 http://www.holmate.com Copyright O 2003 by HOLTEK SEMICONDUCTOR INC. The information appearing in this Data Sheet is believed to be accurate at the time of publication. However, Holtek assumes no responsibility arising from the use of the specifications described. The applications mentioned herein are used solely for the purpose of illustration and Holtek makes no warranty or representation that such applications will be suitable without further modification, nor recommends the use of its products for application that may present a risk to human life due to malfunction or otherwise. Holteks products are not authorized for use as critical components in life support devices or systems. Holtek reserves the right to alter its products without prior notification. For the most up-to-date information, please visit our web site at http://www.holtek.com.tw.
Rev. 1.20
9
March 6, 2003


▲Up To Search▲   

 
Price & Availability of HT6523

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X